package com.cc.service;


import org.springframework.transaction.annotation.Transactional;

public interface BookService {
    @Transactional(rollbackFor = Exception.class)
    void addBook(String book_name, String author,double price) throws InterruptedException;

    void updateBookById(String book_name, String author,double price,int book_id) throws InterruptedException;
}
